<!DOCTYPE html>
<html>
<head>
<title>我的</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta http-equiv="Cache-Control" content="max-age=180">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<meta http-equiv="x-dns-prefetch-control" content="on">
<link href="css/iconfont.css" rel="stylesheet" type="text/css" />
<link href="css/basestyle.css" rel="stylesheet" type="text/css" />
<link href="css/common.css" rel="stylesheet" type="text/css" />
 <link rel="stylesheet" href="../css/bootstrap.css" type="text/css">
<link href="css/style.css" rel="stylesheet" type="text/css" />
</head>
<body style="background:#fff" >
	<div class="mine-header" >
	  <div class="user-info">
	    <div class="t-pic"><a href="photoMg.html"><img id="userImage" src="images/yk.png" /></a></div>
	    <div class="t-info">
	      <div class="name" id="nick_name"><h2>...</h2></div>
	    </div>
	  </div>
	  <div class="mine-opt-box tab">
	    <!-- <a href="gz_shop.html" class="line"><p>2323</p>关注店铺</a> -->
	    <a href="myshoucang.html" class="line"><p>0</p>关注商品</a>
	    <a href="#"><p>0</p>足迹</a>
	 </div>
	</div>
	<div class="mine-main" >
	  <div class="columns">
	    <div class="tit" onclick="javascript:window.location.href='myorders.html?index=0'">
	      <div class="fl name"><i class="icon iconfont">&#xe615;</i><span>我的订单</span></div>
	      <div class="fr more"><span>查看全部订单</span><i class="icon iconfont">&#xe62a;</i></div>
	    </div>
	    <div class="con">
	      <a href="myorders.html?index=0"><i class="icon iconfont">&#xe62d;</i><p>待付款(<em id="countLead" class="num red">...</em>)</p></a>
	      <a href="myorders.html?index=1"><i class="icon iconfont">&#xe620;</i><p>待收货</p></a>
	      <a href="myorders.html?index=2"><i class="icon iconfont">&#xe629;</i><p>待评价</p></a>
	      <a href="myorders.html?index=3"><i class="icon iconfont">&#xe62b;</i><p>已完成</p></a>
	    </div>
	  </div>
	  <div class="columns">
	    <div class="tit" onclick="javascript:window.location.href='myshoucang.html'">
	      <div class="fl name"><i class="icon iconfont">&#xe61a;</i><span>我的收藏</span></div>
	      <div class="fr more"><span>我收藏的商品</span><i class="icon iconfont">&#xe62a;</i></div>
	    </div>
	  </div>
	  <div class="columns address1">
	    <div class="tit" onclick="javascript:window.location.href='addressMg.html'">
	      <div class="fl name"><i class="icon iconfont">&#xe619;</i><span>地址管理</span></div>
	      <div class="fr more"><span>常用收货地址管理</span><i class="icon iconfont">&#xe62a;</i></div>
	    </div>
	  </div>
	  <div class="columns">
	    <div class="tit" onclick="javascript:window.location.href='set.html'">
	      <div class="fl name"><i class="icon iconfont">&#xe600;</i><span>设置</span></div>
	      <div class="fr more"><span>账号与帮助信息</span><i class="icon iconfont">&#xe62a;</i></div>
	    </div>
	  </div>
	</div>
<div class="ft-blank"></div>
<footer class="footer">
  <div class="foot-con">
	<div class="foot-con_2">
		<a href="../index.html">
			<i class="navIcon home"></i>
			<span class="text">首页</span>
		</a>
		<a href="../category.html">
			<i class="navIcon sort"></i>
			<span class="text">分类</span>
		</a>
		<a href="../shopcart.html">
			<i class="navIcon shop"></i>
			<span class="text">购物车</span>		
		</a>
		<a class="active" href="../my/userhome.html">
			<i class="navIcon member"></i>
			<span class="text">我的</span>
		</a>
	</div>
  </div>
</footer>
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script charset="utf-8" src="../js/bootstrap.min.js"></script>

<!-- cookie操作js -->
<script charset="utf-8" src="../js/global.js"></script>
<script type="text/javascript" src="../js/common.js"></script>
<script type="text/javascript" src="js/swiper.min.js"></script>
<script charset="utf-8" src="../js/wxLoginInfo.js?v=01291"></script>
<script type="text/javascript">
	loginInfo(function(userInfo){
		$("#nick_name").html(userInfo.nick_name);
		$("#userImage").attr("src",userInfo.attribute_value0);
		$.get("../home/leadStatusData",{memberId:userInfo.id},function(ret){
				if(ret&&ret.code==200){
					$("#countLead").html(ret.data.orderTotal);
				}
			},'json')
	})
	
</script>
</body>
</html>
